//
//  XMNoDisturbTipView.m
//  XunMi
//
//  Created by MacBook on 2024/4/15.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import "XMNoDisturbTipView.h"

@implementation XMNoDisturbTipView

- (IBAction)change:(id)sender {
    if (self.changeBlock) {
        self.changeBlock();
    }
}

- (void)reload {
    self.stateLa.text = kUserModel.is_mute ? @"勿扰" : @"在线";
    self.stateImgV.image = kGetImage(kUserModel.is_mute ? @"online_red" : @"online_green");
}

@end
